using UnityEngine;

[CreateAssetMenu(fileName = "New bulletSpeedPotion", menuName = "Inventory/PowerUpItem/bulletSpeedPotion（子弹速度道具）")]
public class bulletSpeedPotion : PowerUpItem
{
    public bulletSpeedPotion()
    {
        bulletSpeedBoost = 0.1f;
    }
       
    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，子弹飞行速度增加了 {bulletSpeedBoost} 点。");
    }
}
